<html>
<head>
<title>guestbook</title>
<%include file="admin/header.html"%>
<style>
.PFQrOC {
    background: none repeat scroll 0 0 #d00000;
    border-radius: 1px;
    color: #fff;
    display: inline-block;
    font-family: simsun;
    font-size: 13px;
    height: 18px;
    line-height: 18px;
    margin-right: 11px;
    overflow: hidden;
    padding: 0 6px;
    text-decoration: none;
    vertical-align: text-bottom;
}
</style>
</head>
<body leftmargin="8" topmargin='8'>
	
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>

    <td>
     <div style='float:right;padding-right:8px;'>
     	<!--  //保留接口  -->
     </div>
   </td>
  </tr>

  <tr>
    <td height="1" background="/static/images/admin/sp_bg.gif" style='padding:0px'></td>
  </tr>
</table>
   
<table width="98%" align="center" border="0" cellpadding="4" cellspacing="1">
	<tr bgcolor="#EEF4EA">
		<td colspan="2" background="/static/images/admin/wbg.gif" class='title'>
			<span>反馈管理</span>
		</td>
	</tr>
</table>

<form method="post" action="" name="form1" id="form1">
<table width="98%" align="center" border="0" cellpadding="4" cellspacing="1">
	<tr>
		<td><%$page%> 共 <%$pagecount%> 条</td><td align="right"><select name="pagenumber" onchange="this.form.submit()">
		  <option selected="selected">选择分页 …</option>
			 <%html_options options=$pageset selected=$libvar.pageset|default:20%>
		</select></td>
	</tr>
</table>
</form>
<form method="post" action="" name="myform" id="myform" onsubmit="return check();" target="progress">
<table width="98%" align="center" border="0" cellpadding="4" cellspacing="1" bgcolor="#CBD8AC">
    <tr class="mTr">
      <td><nobr><div align="center"><strong>选择</strong></div></nobr></td>
      <td><nobr><div align="center"><strong>操作</strong></div></nobr></td>
	  <td><nobr><div align="center"><strong>pmec用户名</strong></div></nobr></td>
      <td><nobr><div align="center"><strong>联系方式</strong></div></nobr></td>
	  <td><nobr><div align="center"><strong>感受</strong></div></nobr></td>
	  <td><nobr><div align="center"><strong>ip</strong></div></nobr></td>
      <td><nobr><div align="center"><strong>反馈时间</strong></div></nobr></td>
    </tr>
	<%foreach from=$infolist item=item name=item key=key%>
	<tr height="40" class="<%cycle values='odd,even'%>" title="<%$key+1%>">
	  <td><div align="center"><input type="checkbox" id="id_ids<%$smarty.foreach.item.iteration%>" name="ids[]" value="<%$item.id%>" onclick="copyCheckboxesRange('myform', 'id_ids<%$smarty.foreach.item.iteration%>','l');" /></div></td>
	  <td><nobr><div align="center"><a onclick="return confirm('确认删除？');" href="/xuanyou/user/opt.html?act=del&id=<%$item.id%>" target="progress">删除</a>&nbsp;&nbsp;</div></nobr></td>
	  <td><nobr><%$item.pmecuser%></nobr></td>
	  <td><div align="center"><nobr><%$item.contact%></nobr></div></td>
	  <td><%if $item.isread == '0'%><span class="PFQrOC">未读</span><%/if%><a href="/xuanyou/user/view.html?id=<%$item.id%>"><%$item.ganshou|truncate:25%></a></td>
	  <td><%$item.ipname%>(<%$item.ip%>)</td>
      <td><nobr><div align="center"><%$item.createtime|date_format:"%Y-%m-%d %H:%M"%></div></nobr></td>
	</tr>
	<%/foreach%>
</table>

<table width="98%" align="center" border="0" cellpadding="4" cellspacing="1">
	<tr>
		<td colspan="2"><%$page%></td>
	</tr>
</table>
<table width="98%" border="0" style="margin-left:20px;">
  <tr>
    <td><INPUT TYPE="button" value="全选" onclick="if(markAllRows('myform')) return false;">&nbsp;&nbsp;<INPUT TYPE="button" value="反选" onclick="if(MarkRowsBack('myform')) return false;">&nbsp;&nbsp;<INPUT TYPE="button" value="全不选" onclick="if(unMarkAllRows('myform')) return false;">&nbsp;&nbsp;<INPUT TYPE="submit" name="act" value="删除" onclick="myform.action='/xuanyou/user/opt.html?act=del'"></td>
  </tr>
</table>
</form>
  <iframe name="progress" id="progress" width="0" height="0"></iframe>
<p align="center">
Copyright &copy; 版权所有<br/>
<br/>
</p>
</body>
</html>